//
//  UIButton+HWDUIButton.h
//  huangwdUI
//
//  Created by 张露杰 on 17/4/7.
//  Copyright © 2017年 张露杰. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (HWDUIButton)

/*创建UIButton
 *UIButtonType :UIButtonType 按钮类型
 *cg: frame 布局参数
 *targe: targe响应对象
 *sel: sel点击方法
 *titleColor: titleColor 字体颜色
 *font: font 字体大小
 *title: title 文本内容
 *imageName: imageName 本地图片名
 *backImageName: backImageName 本地背景图片名
 */
+(UIButton *)createButton:(UIButtonType)buttonType frame:(CGRect)cg targ:(id)targe sel:(SEL)sel titleColor:(UIColor *)titleColor font:(UIFont*)font title:(NSString *)title  image:(NSString *)imageName backGroundImage:(NSString*)backImageName;

@end
